home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-10-04 | 6.1 KB | 156 lines | [TEXT/ttxt] |
- # *****************SEQUENCE DEFINTIONS********************
-
- #Here's a sequence definition used as a placeholder
- <Define sequence> "SequenceGeneric", "How do I *do this task*?"
- <SNBS> "Std nav bar"
- <Panel> "PanelGeneric"
- <End sequence>
-
- #*********************************************************
- #A sequence definition for a topic of the topic area "Using the Toolbar"
- <Define sequence> "Toolbar", "How do I use the tools in the toolbar?"
- <SNBS> "Std nav bar"
- <Panel> "Use Tools"
- <Panel> "Tools 2"
- <Panel> "Tools 3"
- <Panel> "Tools with Tip"
- <Panel> "Tools 4"
- <End sequence>
-
- #A sequence definition for a Tip for "How do I use the tools in the toolbar?"
- <Define sequence> "Toolbar TipSeq", "Tip: How do I use the tools in the toolbar?"
- <SNBS> "Std nav bar"
- <Panel> "Toolbar Tip"
- <End sequence>
-
- #*********************************************************
- #A sequence definition for a topic of the topic area "Using the Dictionary"
- <Define sequence> "SequenceAddWords", "How do I add a word to the dictionary?"
- <SNBS> "Std nav bar"
- <Panel> "AddWords1"
- <Skip If> ActiveWindow('ttxt', "Dictionary") AND ActiveAppIs('ttxt')
- <Panel> "AddWords2"
- <Make Sure> ActiveAppIs('ttxt'), "SWContinuePanelSeq"
- <Make Sure> ActiveWindow('ttxt', "Dictionary"), "SWContinuePanelSeq"
- <Panel> "AddWords3"
- <Make Sure> ActiveWindow('ttxt', "Dictionary"), "SWContinuePanelSeq"
- <Panel> "AddWords4"
- <End sequence>
- #*******************Example of a Continue sequence***************
- #A sequence definition for a Continue sequence in the above topic,
- # "How do I add a word to the dictionary?"
- <Define Sequence> "SWContinuePanelSeq", "Oops"
- <Panel> "SWContinuePanel"
- <End Sequence>
-
-
- #*******************Example of using Oops in a Sequence***************
- #same as the previous sequence only uses Oops instead of Continue
- #A sequence definition for a topic of the topic area "Using the Dictionary"
- #<Define sequence> "SequenceAddWords", "How do I add a word to the dictionary?"
- # <SNBS> "Std nav bar"
- # <Panel> "AddWords1"
- #<Skip If> ActiveWindow('ttxt', "Dictionary")
- # <Panel> "AddWords2"
- #<Make Sure> ActiveAppIs('ttxt'), "SWOopsPanelSeq"
- #<Make Sure> ActiveWindow('ttxt', "Dictionary"), "SWOopsPanelSeq"
- # <Panel> "AddWords3"
- #<Make Sure> ActiveWindow('ttxt', "Dictionary"), "SWOopsPanelSeq"
- # <Panel> "AddWords4"
- #<End sequence>
- #*******************Example of an Oops sequence***************
- #A sequence definition for an Oops sequence in the above topic,
- # "How do I add a word to the dictionary?"
- <Define Sequence> "SWOopsPanelSeq", "Oops"
- <SNBS> "Std nav bar"
- <Panel> "SWOopsPanel"
- <End Sequence>
-
- #*********************************************************
- #A sequence definition for a topic of the topic area "Using the Dictionary"
- <Define sequence> "SequenceCreateCustomDictionary", "How do I create a custom dictionary?"
- <SNBS> "Std nav bar"
- <Panel> "CreateCustomIntro"
- <Panel> "CreateCustomDecision"
- #branch based on state of radio buttons in previous panel
- <IF> radioButtonState("automatically create a custom dictionary", "CreateCustomDecision")
- #if user chose "automatically" do this sequence of panels
- <Skip If> ActiveWindow('MACS', "SurfWriter Scripts") AND ActiveAppIs('MACS')
- <Panel> "CreateCustomAuto1"
- <Make Sure> ActiveWindow('MACS', "SurfWriter Scripts"), "SWContinueSeqCustomAuto1"
- <Make Sure> OpenWindow('MACS', "SurfWriter Scripts"), "SWContinueSeqCustomAuto1"
- <Make Sure> ActiveAppIs('MACS'), "SWContinueSeqCustomAuto1"
- <Panel> "CreateCustomAuto2"
- <Else>
- #if user did not chose "automatically" (ie, chose "manually") do this sequence of panels
- <Skip If> ActiveWindow('ttxt', "Dictionary") AND ActiveAppIs('ttxt')
- <Panel> "CreateCustomManual1"
- <Make Sure> ActiveAppIs('ttxt'), "SWContinuePanelSeq"
- <Make Sure> ActiveWindow('ttxt', "Dictionary"), "SWContinueSeqCustomManual1"
- <Panel> "CreateCustomManual2"
- <Make Sure> ActiveAppIs('ttxt'), "SWContinuePanelSeq"
- <Make Sure> ActiveWindow('ttxt', "Dictionary"), "SWContinueSeqCustomManual1"
- <Panel> "CreateCustomManual3"
- <End If>
- #common closure panel
- <Panel> "CreateCustomAllDone"
- <End sequence>
-
- #A sequence definition for a Continue sequence in the above topic,
- # "How do I create a custom dictionary (automatically)?"
- <Define Sequence> "SWContinueSeqCustomAuto1", "Oops"
- <Panel> "SWContinuePanelCustomAuto1"
- <End Sequence>
-
- #A sequence definition for another Continue sequence in the above topic,
- # "How do I create a custom dictionary (manually)?"
- <Define Sequence> "SWContinueSeqCustomManual1", "Oops"
- <Panel> "SWContinuePanelCustomManual1"
- <End Sequence>
-
- #A sequence definition for "Definition:AppleScript"
- <Define sequence> "Defns:AppleScript", "Definition: AppleScript"
- <SNBS> "Std nav bar"
- <Panel> "HotT AppleScript"
- <End sequence>
-
- #A sequence definition for a Huh? sequence
- <Define sequence> "HuhCompareManualAndAuto", "Comparison of manual and automatic methods"
- <SNBS> "Std nav bar"
- <Panel> "CompareManualAndAuto"
- <End sequence>
-
- #A sequence definition for a Tip sequence associated with creating a custom dictionary
- <Define sequence> "Tip:CustomDictionary", "Tip: How do I create a custom dictionary?"
- <SNBS> "Std nav bar"
- <Panel> "TipForCustomDictionary"
- <End sequence>
-
- #A sequence definition for a Related Topics sequence associated with creating a custom dictionary
- <Define sequence> "Related Topics:CustomDictionary", "Related Topics: How do I create a custom dictionary?"
- <SNBS> "Std nav bar"
- <Panel> "RelatedTopicsForCustomDictionary"
- <End sequence>
-
- #A sequence definition for a Huh? sequence
- <Define sequence> "HuhScriptsFolder", "Scripts in the SurfWriter Scripts folder"
- <SNBS> "Std nav bar"
- <Panel> "ScriptsFolder"
- <End sequence>
-
-
- #*********************************************************
- #Here's a sequence definition for the panel that defines "Standard Dictionary"
- <Define sequence> "SequenceDefnStdDictionary", "Definition: standard dictionary"
- <SNBS> "Std nav bar"
- <Panel> "PanelDefineStandardDictionary"
- <End sequence>
-
- #Here's a sequence definition for the panel that defines "Custom Dictionary"
- <Define sequence> "SequenceDefnCustomDictionary", "Definition: custom dictionary"
- <SNBS> "Std nav bar"
- <Panel> "PanelDefineCustomDictionary"
- <End sequence>
-
-
-